import  pandas_datareader as pdr
gs10 = pdr.get_data_fred('GS10')
print(gs10)